/*******************************************************************************
** CopyRight (c) 2005-2008 SKY-MOBI Ltd. All rights reserved.
** Filename:  ad_manager.h
** Creator:   yuzhifeng
** Version:   0.0
** Date:      
** Description:
 *******************************************************************************/

#ifndef __AD_MANAGER_H__
#define __AD_MANAGER_H__

#include "ad.h"
#include "res.h"

enum {
	AD_CONTENT_TXT,
	AD_CONTENT_PIC,

	AD_CONTENT_MAX
};

typedef struct {
	uint8 type;
	union {
		uint8* text;
		bmpSt pic;
	} u;
} AD_DATA;

typedef struct {
	uint8 num;
	uint8 currIdx;
	uint16 reserved;
	AD_DATA item[1];
}AD_LIST;

#if defined(INCLUDE_IN_PLUG_AD_SRC) || defined(SDK_NO_PLUGIN)
AD_LIST* AD_GetList(void);

#else

	
#endif

#endif

